<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <!-- Any Other things should follow these 3 meta above -->
    <title>买家个人信息修改</title>
    <!-- Bootstrap -->
    <link href="/bootstrap/dist/css/bootstrap.css" rel="stylesheet"/>
    <link href="/css/common.css" rel="stylesheet"/>
    <link href="/css/buyer_center.css" rel="stylesheet"/>
    <link href="/css/pop-up.css" rel="stylesheet" media="all"/>
    <!-- Custom styles -->

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/js/common/html5shiv.min.js"></script>
    <script src="/js/common/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<!-- this is the common top begin -->
<div class="container-fluid">
    <div data-th-replace="common_html/common_head"></div>
    <div class="row banner">
        <div class="col-xs-2 col-sm-2"></div>
        <div class="col-xs-8 col-sm-8">
            <div class="row">

                <div class="col-xs-3 logo"><a class="mr-15 " th:href="@{/}"><img src="/img/cute_logo.jpg" class="logo_wh"/></a></div>
                <div class="col-xs-5 font-bold">
                    <a class="mr-15 " th:href="@{/}">首页</a>
                    <a class="mr-15 glyphicon glyphicon-user" href="buyer_center.html" th:href="@{/buyer/center}">买家中心</a>
                    <a class="mr-15 glyphicon glyphicon-cog" href="buyer_setting.html" th:href="@{/buyer/buyer_setting}">设置</a>
                </div>
                <div class="col-xs-4 col-sm-4">
                    <form class="form-inline">
                        <div class="form-group" th:action="@{/product/searchGood}">

                            <input type="text" class="form-control search" id="search" name="search" placeholder="请输入商品名\关键词"/>

                        </div>
                        <button type="submit" class="search-btn">搜索</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- this is the common top end -->
<div class="container" style="min-height: 700px">
    <div class="row">
        <div class="col-xs-2">
            <ul class="list-unstyled">
                <li class="font-red font-middle mt-10">全 部 功 能</li>
                <li class="mt-10 "><a th:href="@{/buyer/shopping_cart}"  href="/buyer/shopping_cart" class="font-black glyphicon glyphicon-shopping-cart"> 我的购物车</a> </li>
                <li class="mt-10 "><a th:href="@{/buyer/orders}" href="/buyer/bought_products" class="font-black glyphicon glyphicon-ok-circle"> 已买到的宝贝</a> </li>
                <!--<li class="mt-10 "><a th:href="@{/buyer/bought_shops}" href="/buyer/bought_shops" class="font-black glyphicon glyphicon-home"> 购买过的店铺</a> </li>-->
                <!--<li class="mt-10 "><a th:href="@{/buyer/comment_management}" href="/buyer/comment_management" class="font-black glyphicon glyphicon-list-alt"> 评价管理</a> </li>-->
            </ul>
        </div>
        <div class="col-xs-5 ml-40 mt-20">
            <div class="panel panel-info">
                <div class="panel-heading">
                    <h3 class="text-center">个人信息修改</h3>
                </div>
                <div class="panel-body">
                    <form role="form" method="post" th:action="@{/buyer/buyerSetting}" th:object="${buyer}" onsubmit="return checkAll()">
                        <div class="form-group">
                            <h4 class="not-allowed">用户名：<span disabled="disabled" th:text="${buyer.name}" class="forbidInfo"></span></h4>
                        </div>
                        <div class="form-group">
                            <h4 class="not-allowed">学号：<span disabled="disabled" th:text="${buyer.studentNumber}" class="forbidInfo"></span></h4>
                        </div>
                        <div class="form-group">
                            <h4>修改密码:</h4>
                            <input class="form-control" type="password" name="password" th:value="${buyer.password}" value="" id="password"/><span class="text-red"></span>
                        </div>
                        <div class="form-group">
                            <h4>确认新密码:</h4>
                            <input class="form-control" type="password" name="repass" th:value="${buyer.password}" value="" id="repass"/><span class="text-red"></span>
                        </div>
                        <div class="form-group">
                            <h4>修改邮箱:</h4>
                            <input class="form-control" type="mobile" name="email" value="" th:value="${buyer.email}" id="email"/><span class="text-red"></span>
                        </div>
                        <div class="form-group">
                            <h4>修改手机号:</h4>
                            <input class="form-control" type="text" name="mobile" th:value="${buyer.mobile}" value="" id="mobile"/><span class="text-red"></span>
                        </div>
                        <button type="submit" class="btn btn-info btn-lg">提交修改信息</button>
                    </form>
                    <div class="col-xs-5"></div>
                 </div>
            </div>
        </div>
    </div>
</div>
<!--This is the common footer Begin-->
<bottom data-th-replace="seller/sellercommon/bottom"></bottom>



<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="/js/common/jquery-3.1.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="/js/login.js"></script>
<script src="/js/buyer_setting.js"></script>
</body>
</html>
<!--This is the common footer End-->
